<template>
	<view>
		<view class="fbdetail u-p-30 u-m-tb-30" v-for="(i,index) in advicelist">
			<text>建议{{index+1}}</text>
			<view class="u-m-tb-20">
				{{i.info}}
			</view>
		</view>
		<u-empty v-if="advicelist.length==0" ></u-empty>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				advicelist:[]
			};
		},
		onLoad(opt) {
			this.id = opt.id
			this.init()
		},
		methods:{
			init(){
				this.$api.get('/assistant/xCourse/courseFeedback',{id:this.id}).then(res=>{
					this.advicelist = res.data
				})
			},
		}
	}
</script>

<style lang="scss">
.fbdetail{
	background-color: #fff;
	min-height: 200rpx;
}
</style>
